﻿@using MvcApplication2.ViewModels
@{
    Layout = "~/Views/Shared/_Layout.cshtml";
}
@model CreateEmployeeViewModel

@section ContentBody{
    <form action="/Employee/SaveEmployee" method="post" >
           <div>
        姓：<input type="text"  id="txtFN" name="FirstName" class="form-control" value="@Model.FirstName"/>  @Html.ValidationMessage("FirstName")<br />
        名： <input type="text" id="txtLN" name="LastName"  class="form-control" value="@Model.LastName" />  @Html.ValidationMessage("LastName")<br />
        薪水：<input type="text" id="txtSalary" name="Salary"   class="form-control" value="@Model.Salart" /><br />
             <button type="submit" name="btnSubmit" value="Save" class="btn btn-default">保存</button>
                 <button type="button"  name="btnReset" value="Reset" class="btn btn-default">重置</button>
               <input type="submit" name="btnSubmit"  value="取消" class="btn btn-default" />
    </div>

    </form>
    }

